package com.bl.student.service.biz.record;

import com.bl.student.dao.model.UserRecordEntity;
import com.bl.student.service.vo.DelBody;
import com.bl.student.service.vo.DelListBody;
import com.bl.student.service.vo.record.*;
import com.bl.student.service.vo.user.UserInfoModifyVo;
import com.santoker.roastassistant.share.SharedData;

import java.util.List;

/**
 * Created by liangweikang on 20/6/27.
 */
public interface RecordService {

    List<UserRecordEntity> getUserRecordEntityList(int userId);

    void add(RecordAddVo addVo);

    void del(DelBody delBody);

    void delAll(DelBody delBody);

    void delShare(DelBody delBody);

    void addShare(ShareAddVo addVo);

    void setIsSelect(ShareAddVo selectedVo);

    void setIsTrain(RecordTrainVo selectedVo);

    void updateUserRcord(RecordModVo recordModVo);

    List<UserRecordEntity> getShareList(int userId);

    List<UserVo> getUserNameList();

    List<UserVo> getAllUser();

    List<UserVo> getUserNameListSelect();

    SharedData getSharedData(String recordId);

    List<UserVo> searchUserByName(String userName);

    List<UserVo> searchUserByMobile(String mobile);

    List<UserRecordEntity> getUserRecordEntityListByTitle(String title, int type);

    List<UserRecordEntity> getAllRecord();

    void updateUserInfo(UserInfoModifyVo userInfoModifyVo);

    List<UserRecordTrainVo> getAllTrainRecord(String type);

    void delTrainList(DelListBody body);

}
